﻿' LibWowArmory
' by Ronald M. Clifford (roncli@roncli.com)
'
' This source code is released under the GNU Library General Public License (LGPL) Version 2.1.

Imports System.Collections.ObjectModel
Imports Newtonsoft.Json

Namespace roncliProductions.LibWowArmory.Guild.Schema

    Public Class guild

        <JsonProperty()> Public Property lastModified As Long
        <JsonProperty()> Public Property name As String
        <JsonProperty()> Public Property realm As String
        <JsonProperty()> Public Property level As Integer
        <JsonProperty()> Public Property side As Integer
        <JsonProperty()> Public Property achievementPoints As Integer
        <JsonProperty()> Public Property achievements As achievements

        Private mMembers As New Collection(Of member)
        <JsonProperty()> Public ReadOnly Property members As Collection(Of member)
            Get
                Return mMembers
            End Get
        End Property

        <JsonProperty()> Public Property emblem As emblem

    End Class

End Namespace
